<%@ page contentType="text/html; charset=ISO-8859-1" language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="model.ServiceCall" %>

<!DOCTYPE html>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="css/sc.css" />

	<title>Service call edit</title>
</head>
<body>
    <h2>Service call edit</h2>
    
	<s:form>
	    <s:checkbox label="Active" name="serviceCall.active"></s:checkbox>
	    <s:textfield label="Description" name="serviceCall.description"></s:textfield>
	    <s:textfield label="Start time" name="serviceCall.startTime"></s:textfield>
	    <s:textfield label="Stop time" name="serviceCall.stopTime"></s:textfield>
	    <s:textfield label="Work hours" name="serviceCall.workhours"></s:textfield>
	    
	    <s:select label="Operator" name="operator" value="%{serviceCall.Operator}" list="operatorList"></s:select>
	    <s:select label="Customer" name="customer" value="%{serviceCall.Customer}" list="customerList"></s:select>
	    
	    <s:select label="Priority code" name="priorityCode" value="%{serviceCall.priorityCode}" list="priorityList"></s:select>
	    <s:select label="Status code" name="statusCode" value="%{serviceCall.statusCode}" list="statusList"></s:select>
	    <s:submit />
    </s:form>
</body>
</html>